package com.vil.service;

import com.vil.common.ServerResponse;
import com.vil.entity.User;

public interface UserService {

    //动态增加
    ServerResponse insertSelective(User record);

    //根据主键删除
    ServerResponse deleteByPrimaryKey(Long id);

    //根据主键动态修改
    ServerResponse updateByPrimaryKeySelective(User record);

    //多条件分页查询
    ServerResponse getListByManyConditions(Integer pageIndex, Integer pageSize, User user);
    //批量删除
    ServerResponse  deleteMany(Long[] array);

    //根据ID查询
    ServerResponse getById(Long id);

}
